﻿using System;
using System.Data;


public partial class manager_eval_MyEval : System.Web.UI.Page
{
    DBHelper db = new DBHelper();
    public int psid = 0;
    protected void Page_Load(object sender, EventArgs e)
    {
        psid = Convert.ToInt32(Request.QueryString["psid"]);
        if (!IsPostBack)
        {
            bindData();
        }
    }
    private void bindData()
    {
        string zx_psid = Session[AppConfig.SESSION_USER_PSID].ToString();

        if (psid != 0)
        {
            zx_psid = psid.ToString();
        }

        DataTable dt = db.getList("select top 15 *  from v_A_Eval_Main where psid='" + zx_psid + "'  order by id desc");
        rptDeApply_1.DataSource = dt;
        rptDeApply_1.DataBind();

    }
}